package javacode.chapter06;

public class TestReverse {
    public static void main(String[] args) {
        int[] list = {10, 4, 8, 35, 6, 0};
        Reverse reverse = new Reverse();
        System.out.println("逆转之前数组元素：");
        reverse.show(list);
        list = reverse.reverse(list);  // 逆转数组
        System.out.println("\n逆转之后数组元素");
        reverse.show(list);
    }
}
